//
//  SVProgressHUD+XWXProgressHUD.m
//  YuChangWL
//
//  Created by Mr_hi on 2018/12/19.
//  Copyright © 2018 zwhl. All rights reserved.
//

#import "SVProgressHUD+XWXProgressHUD.h"

@implementation SVProgressHUD (XWXProgressHUD)

//static UIColor *COLORTHEME(){
//    return [UIColor redColor];
//
//}

+(void)XWX_showWithSuccessInfo:(NSString *)info{
    //    [SVProgressHUD setStyle];
    [SVProgressHUD showSuccessWithStatus:info];
}

+(void)XWX_showWithErrorInfo:(NSString *)info{
    //    [SVProgressHUD setStyle];
    [SVProgressHUD showErrorWithStatus:info];
}

+(void)XWX_showWithStatu:(NSString *)info{
    //    [SVProgressHUD setStyle];
    [SVProgressHUD showWithStatus:info];
}

+(void)XWX_dismis{
    [SVProgressHUD dismiss];
}

+(void)XWX_dismisWithDelay:(NSTimeInterval)timeInterVal{
    [SVProgressHUD dismissWithDelay:1.0];
}

+(void)load{
    [SVProgressHUD setStyle];
}

+(void)setStyle{
    [SVProgressHUD setDefaultStyle:SVProgressHUDStyleDark];
    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeClear];
}



@end
